Create menu or menu items

您所在的位置:网站首页 menubar matlab Create menu or menu items

Create menu or menu items

2023-07-12 16:32| 来源: 网络整理| 查看: 265

Menu label, specified as a character vector or string scalar. This property specifies the label that appears on the menu or menu item.

Avoid using these case-sensitive reserved words: 'default', 'remove', and 'factory'. If you must use a reserved word, then specify a backslash character before the word. For instance, specify 'default' as '\default'.

You can specify a mnemonic keyboard shortcut (Alt+mnemonic) by using the ampersand (&) character in the text for the label. The character that follows the ampersand appears underlined in the menu when Alt is pressed. You can select the menu item by holding down the Alt key and typing the character shown.

To use mnemonics, you must specify a mnemonic for all menus and menu items that you define in the app. If you define mnemonics only for some menus or menu items, pressing the Alt key does not have any effect.

The table shows some examples:

Text ValueMenu Label with Mnemonic Hints'&Open Selection'

'O&pen Selection'

'&Save && Go'



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3